package com.erp.erp_ui.business.vo;

import java.math.BigDecimal;

/**
 * @ClassName : StockInfoVo
 * @Description : 库存信息出参实体
 * @Author : lst
 * @Date: 2021-03-11 12:01
 */
public class StockInfoVo {
    /**
     * 产品编码
     */
    private String productCode;
    /**
     * 规格编码
     */
    private String specificationCode;
    /**
     * 批次号
     */
    private String lotNo;
    /**
     * 实际数量
     */
    private BigDecimal realQuantity;
    /**
     * 仓库名称
     */
    private String warehouseName;
    /**
     * 实际可用数量
     */
    private BigDecimal realAvailableQuantity;
    /**
     * 合同号
     */
    private String contractNo;
    /**
     * 合同类型(1:内销 2:外销 3:待定)
     */
    private String contractTypeStr;


    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getSpecificationCode() {
        return specificationCode;
    }

    public void setSpecificationCode(String specificationCode) {
        this.specificationCode = specificationCode;
    }

    public String getLotNo() {
        return lotNo;
    }

    public void setLotNo(String lotNo) {
        this.lotNo = lotNo;
    }

    public BigDecimal getRealQuantity() {
        return realQuantity;
    }

    public void setRealQuantity(BigDecimal realQuantity) {
        this.realQuantity = realQuantity;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public BigDecimal getRealAvailableQuantity() {
        return realAvailableQuantity;
    }

    public void setRealAvailableQuantity(BigDecimal realAvailableQuantity) {
        this.realAvailableQuantity = realAvailableQuantity;
    }

    public String getContractNo() {
        return contractNo;
    }

    public void setContractNo(String contractNo) {
        this.contractNo = contractNo;
    }

    public String getContractTypeStr() {
        return contractTypeStr;
    }

    public void setContractTypeStr(String contractTypeStr) {
        this.contractTypeStr = contractTypeStr;
    }

    /**
     * 重写toString
     */
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("StockInfoVo").append('[')
                .append("productCode=")
                .append(productCode)
                .append(",specificationCode=")
                .append(specificationCode)
                .append(",lotNo=")
                .append(lotNo)
                .append(",realQuantity=")
                .append(realQuantity)
                .append(",warehouseName=")
                .append(warehouseName)
                .append(",realAvailableQuantity=")
                .append(realAvailableQuantity)
                .append(",contractNo=")
                .append(contractNo)
                .append(",contractTypeStr=")
                .append(contractTypeStr)
                .append(']');
        return sb.toString();
    }
}
